package com.deer.wms.base.system.service.bill.impl;

import com.deer.wms.base.system.dao.bill.BillInSapAccountDetailMapper;
import com.deer.wms.base.system.model.bill.BillInMaster;
import com.deer.wms.base.system.model.bill.BillInSapAccountDetail;
import com.deer.wms.base.system.model.bill.BillInSapAccountDetailCriteria;
import com.deer.wms.base.system.model.bill.BillInSapAccountDetailDto;
import com.deer.wms.base.system.service.bill.BillInSapAccountDetailService;
import com.deer.wms.common.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 李帅辰
 * @date 2021/6/22 12:33
 */
@Service
public class BillInSapAccountDetailServiceImpl  extends AbstractService<BillInSapAccountDetail, Integer> implements BillInSapAccountDetailService {

    @Autowired
    private BillInSapAccountDetailMapper billInSapAccountDetailMapper;

    @Override
    public List<BillInSapAccountDetailDto> fingBillInSapAccountDetailDtoList(BillInSapAccountDetailCriteria billInSapAccountDetailCriteria) {
        return billInSapAccountDetailMapper.fingBillInSapAccountDetailDtoList(billInSapAccountDetailCriteria);
    }

    @Override
    public BillInSapAccountDetailDto findBillInSapAccountDetailDtoById(Integer billInSapAccountDetailId) {
        return billInSapAccountDetailMapper.findBillInSapAccountDetailDtoById(billInSapAccountDetailId);
    }
}
